//
//  WHHeaderButtonView.h
//  WHPersonalData
//
//  Created by hyf on 2023/7/20.
//  Copyright © 2023 mac. All rights reserved.
//

#import "WHBaseView.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum
{
    WHButtonTopImg     = 0,   // 上面图片下面标题
    WHButtonleftImg    = 1,   // 左边图片右边标题
    WHButtonBorder     = 2,   // 没图片带边框
    WHButtonBackground = 3    // 没图片带背景
    
} WHButtonType;

@class WHHeaderButtonModel;
@protocol WHHeaderButtonViewDelegate <NSObject>

@optional

- (void)WHHeaderButtonViewWithModel:(WHHeaderButtonModel *)model;

@end
@interface WHHeaderButtonView : WHBaseView

@property(nonatomic,strong) NSMutableArray  *models;

@property(nonatomic,strong)id<WHHeaderButtonViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame type:(WHButtonType)type;
@end

NS_ASSUME_NONNULL_END
